package com.srp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 文件
 */
@Data
@TableName("file")
@Schema(description = "用来返回数据集列表的dto")
public class DataFile {

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "数据集的id", example = "1")
    private int id;

    @Schema(description = "数据集的md5码", example = "c56403b3-808a-4fd3-a7f9-ece2839d7a27.csv")
    private String url;

    @Schema(description = "数据集的名称", example = "player1.csv")
    private String name;
}

